package com.sdy.common.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author zhouziqiang
 */
@Data
@Accessors(chain = true)
public class FileObj {
    protected static final String DATETIME_FORMAT = "yyyy-MM-dd HH:mm:ss";
    private String id;
    private String fileName;
    private String path;
    private Integer fileSize;
    @JsonFormat(pattern = DATETIME_FORMAT)
    private Date createTime;
}
